<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>8.canvas画布</title>
    <script src="8.canvas画布.js"></script>
</head>
<body>

<canvas id = 'test-canvas' width="300" height="200" style="background-color: #7A991A " onmouseover="canvasImage()" onmouseleave="canvasText('有阴影的文字效果')">

</canvas>


</body>

</html>